package com.define.commons.dao.service.impl;

import com.define.commons.dao.dao.ProcessMapper;
import com.define.commons.dao.domain.Process;
import com.define.commons.dao.service.ProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author xiewenlong
 * @Date 2018/11/1 17:13
 */
@Service
public class ProcessServiceImpl extends BaseServiceImpl<Process, Long> implements ProcessService {

    @Autowired
    private ProcessMapper mapper;

    @Override
    public List<Process> sqlQuery(String sql) {
        return mapper.sqlQuery(sql);
    }

    @Override
    public Process getOneProcess() {
        return mapper.getOneProcess();
    }
}
